<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<script>
  export default {
    name: 'app',
    created () {
    },
    watch: {
      $route (to, from) {
        if (to['name'] === 'dashboard') {
          this.$store.commit('SET_SHOW_TAGS', false)
        } else {
          this.$store.commit('SET_SHOW_TAGS', true)
        }
      }
    }
  }
</script>

<style></style>
